<?php /* Smarty version 2.6.16, created on 2009-04-17 02:14:38
         compiled from AjaxBox.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'url', 'AjaxBox.html', 5, false),array('function', 'img', 'AjaxBox.html', 6, false),array('function', 'language', 'AjaxBox.html', 21, false),array('modifier', 'escape', 'AjaxBox.html', 12, false),array('modifier', 'clean', 'AjaxBox.html', 12, false),array('modifier', 'truncate', 'AjaxBox.html', 16, false),array('modifier', 'video_time', 'AjaxBox.html', 21, false),)), $this); ?>
<table style="width:100%;">
<?php $_from = $this->_tpl_vars['aItems']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['aItem']):
?>
<tr>
	<td style="vertical-align:top; width:20%;">
		<a href="<?php echo smarty_function_url(array('link' => 'public.videos','id' => $this->_tpl_vars['aItem']['vid_id'],'foxseotitle' => $this->_tpl_vars['aItem']['vid_title']), $this);?>
">
			<?php echo smarty_function_img(array('max_width' => '75','src' => ($this->_tpl_vars['sGImageUrl']).($this->_tpl_vars['aItem']['vid_id']).".jpg",'src_def' => "design/pic/noimage_75.jpg",'alt' => "",'id' => 'mainimage'), $this);?>

		</a>
	</td>
	<td style="vertical-align:top; width:50%;">
		<div style="font-size:11pt; font-weight:bold;">
			<a href="<?php echo smarty_function_url(array('link' => 'public.videos','id' => $this->_tpl_vars['aItem']['vid_id'],'foxseotitle' => $this->_tpl_vars['aItem']['vid_title']), $this);?>
">
				<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['aItem']['vid_title'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('clean', true, $_tmp) : smarty_modifier_clean($_tmp)); ?>

			</a>
		</div>
		<div style="padding:6px;">
			<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['aItem']['vid_info'])) ? $this->_run_mod_handler('truncate', true, $_tmp, '150') : smarty_modifier_truncate($_tmp, '150')))) ? $this->_run_mod_handler('clean', true, $_tmp) : smarty_modifier_clean($_tmp)); ?>

		</div>
		<?php if ($this->_tpl_vars['aItem']['duration']): ?>
		<br />
		<br />
		<?php echo smarty_function_language(array('text' => 'time'), $this);?>
: <?php echo ((is_array($_tmp=$this->_tpl_vars['aItem']['duration'])) ? $this->_run_mod_handler('video_time', true, $_tmp) : smarty_modifier_video_time($_tmp)); ?>

		<?php endif; ?>
	</td>
	<td style="vertical-align:top;">
		<?php echo smarty_function_language(array('text' => 'Mod_Video.add.by'), $this);?>
: <a href="<?php echo smarty_function_url(array('link' => 'public.user','name' => $this->_tpl_vars['aItem']['user']), $this);?>
"><?php echo $this->_tpl_vars['aItem']['user']; ?>
</a>
		<br />
		<?php echo smarty_function_language(array('text' => 'Mod_Video.views'), $this);?>
: <?php echo $this->_tpl_vars['aItem']['vid_total']; ?>

		<br />
		<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['sRootPath'])."/_blocks/videostars.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
		<br />
		<br />
		<?php echo smarty_function_language(array('text' => 'Mod_Video.more_in'), $this);?>
: <a href="<?php echo smarty_function_url(array('link' => 'public.videos','listid' => $this->_tpl_vars['aItem']['list_id'],'foxseotitle' => $this->_tpl_vars['aItem']['list_name']), $this);?>
"><?php echo smarty_function_language(array('translate' => $this->_tpl_vars['aItem']['list_name']), $this);?>
</a>
	</td>
</tr>
<tr>
	<td colspan="3">
		<div style="padding:4px;" class="border13"></div>
		<br />
		<br />
	</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table>
<?php if (count ( $this->_tpl_vars['aItems'] ) > $this->_tpl_vars['iTotal']): ?>
<div style="text-align:right; font-weight:bold; font-size:9pt;">	
	<a href="<?php echo smarty_function_url(array('link' => 'public.videos','type' => $this->_tpl_vars['sType']), $this);?>
"><?php echo smarty_function_language(array('text' => 'Mod_Video.view_more'), $this);?>
</a>
</div>
<?php endif; ?>
<br />